<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
  <h1 align="center">增加商品</h1>
  <form action="addupdate" method="post">
  <center>
  <table>
 

  <tr><td>商品品牌:
  <select style="width:148px" id="pbrand" name="pbrand">
   


  
  
  </select></td></tr>
  
  <tr><td>商品名称:<input type="text" id="pname" name="pname" class="input"></td></tr>
  <tr><td>商品价格:<input type="text" id="pprice" name="pprice" class="input"  onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"></td></tr>
  <tr><td>图片路径:<input type="text" id="psimgpath" name="psimgpath" class="input"></td></tr>
  <tr><td>总 数 量:<input type="text" id="psum" name="psum" class="input"  onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"></td></tr>
  <tr><td>CPU:&nbsp;&nbsp;&nbsp;&nbsp;   <input type="text" id="pcpu" name="pcpu" class="input"></td></tr>
  <tr><td>硬盘大小:<input type="text"id="pdisk" name="pdisk" class="input"></td></tr>
  <tr><td>内   存:&nbsp;&nbsp;&nbsp;<input type="text"id="pme" name="pme" class="input"></td></tr>
  <tr><td>显卡信息:<input type="text" id="pxk" name="pxk" class="input"></td></tr>
  <tr><td>重   量:&nbsp;&nbsp;&nbsp;<input type="text" id="pwh" name="pwh" class="input"></td></tr>
  <tr><td>屏幕尺寸:<input type="text" id="pscreen" name="pscreen" class="input"></td></tr>
  <tr><td>颜   色:&nbsp;&nbsp;&nbsp;<input type="text" id="pcolor" name="pcolor" class="input"></td></tr>
  <tr><td>管理员名称:<input type="text" value="" id="pusername" name="pusername" class="input" readonly="readonly"></td></tr>
  <tr><td>详细介绍:<textarea  id="pdetail" name="pdetail" class="input"></textarea></td></tr>
  <tr><td><input type="button" onclick="addProduct()" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value="重置"></td></tr>
  </table>
  </center>
  </form>
</body>
</html>